package kr.co.insoft.core.model.orchestration;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import kr.co.insoft.auth.model.security.User;
import kr.co.insoft.core.model.configration.sev.SEVEntityModel;

@XmlRootElement
public class CompositeStackEntityModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1828574399843449649L;
	CompositeEntityModel composite;
	String compositeid;
	String stackid;
	String stackName;
	Boolean template;
	Boolean dedi;
	String connectionid;
	String imageId;
	String imageName;
	String hardwareProfileId;
	String hardwareProfileName;
	String stackDesc;
	Long userid;
	String companyid;
	List<SEVEntityModel> variables;

	public String getStackid() {
		return stackid;
	}

	public void setStackid(String stackid) {
		this.stackid = stackid;
	}

	public String getStackName() {
		return stackName;
	}

	public void setStackName(String stackName) {
		this.stackName = stackName;
	}

	public String getStackDesc() {
		return stackDesc;
	}

	public void setStackDesc(String stackDesc) {
		this.stackDesc = stackDesc;
	}

	public List<SEVEntityModel> getVariables() {
		return variables;
	}

	public void setVariables(List<SEVEntityModel> variables) {
		this.variables = variables;
	}

	public String getCompositeid() {
		return compositeid;
	}

	public void setCompositeid(String compositeid) {
		this.compositeid = compositeid;
	}

	public CompositeEntityModel getComposite() {
		return composite;
	}

	public void setComposite(CompositeEntityModel composite) {
		this.composite = composite;
	}

	public Boolean getTemplate() {
		return template;
	}

	public void setTemplate(Boolean template) {
		this.template = template;
	}

	public Boolean getDedi() {
		return dedi;
	}

	public void setDedi(Boolean dedi) {
		this.dedi = dedi;
	}

	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	public String getConnectionid() {
		return connectionid;
	}

	public void setConnectionid(String connectionid) {
		this.connectionid = connectionid;
	}

	public void setAuth(User user) {
		this.userid = user.getId();
		this.companyid = user.getCompanyId();
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	public String getHardwareProfileId() {
		return hardwareProfileId;
	}

	public void setHardwareProfileId(String hardwareProfileId) {
		this.hardwareProfileId = hardwareProfileId;
	}

	public String getHardwareProfileName() {
		return hardwareProfileName;
	}

	public void setHardwareProfileName(String hardwareProfileName) {
		this.hardwareProfileName = hardwareProfileName;
	}

	public String getImageId() {
		return imageId;
	}

	public void setImageId(String imageId) {
		this.imageId = imageId;
	}

}
